﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Code;
using DB;
using Microsoft.AspNetCore.Mvc;
using Models;

namespace LayuiAdmin.Controllers
{
    public class SettingController : Controller
    {
        public IActionResult Receipt()
        {
            using (var context = new SqlServerDB()) {
                List<SystemSetting> list = context.Settings.Where(m => m.SystemType == SystemType.收款信息).ToList();


                return View(list);
            }
        }
    }
}